WC_Asaas\Webhook\Webhook A

Total Complexity 62
Dependencies 13
Dependents 2
Total lines 409
Lines of code 236
Logical lines of code 159
Comment lines 88
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
on_payment_created()
B
35 20 79
process_event()
A
51 9 30
update_order_values_on_credit_card()
S
55 6 21
on_payment_refunded()
S
57 4 16
process_payment()
S
61 4 11
set_order_discount()
S
67 2 8
on_payment_deleted()
S
65 2 9
on_payment_overdue()
S
65 2 9
on_payment_updated()
S
69 2 6
calculate_item_total()
S
67 2 8
calculate_item_fee_value()
S
70 2 6
on_payment_restored()
S
65 2 9
__construct()
S
66 1 8
add_item_fee_to_order()
S
71 1 6
__get()
S
81 1 3
on_payment_confirmed()
S
76 1 4
add_order_note()
S
79 1 3